/*
* @Author: Adolphus.Yao
* @Date:   2019-08-20 22:20:10
* @Last Modified by:   Adolphus.Yao
* @Last Modified time: 2019-08-30 14:44:15
*/

package main

import (
    "fmt"
    fasthash "github.com/opencoff/go-fasthash"
)

func main() {
    s := "1_13_440582198711050013"
    ss := fasthash.Hash32(0, []byte(s))
    fmt.Println("xxx: ", ss%10)
    s = "1_13_440825199610122384"
    ss = fasthash.Hash32(0, []byte(s))
    fmt.Println("xxx: ", ss%10)
    s = "1_13_441421199406303114"
    ss = fasthash.Hash32(0, []byte(s))
    fmt.Println("xxx: ", ss%10)
    s = "1_13_440983199506120820"
    ss = fasthash.Hash32(0, []byte(s))
    fmt.Println("xxx: ", ss%10)
    s = "1_13_440582198906142954"
    ss = fasthash.Hash32(0, []byte(s))
    fmt.Println("xxx: ", ss%10)
    s = "1_13_440181199601012733"
    ss = fasthash.Hash32(0, []byte(s))
    fmt.Println("xxx: ", ss%10)
    s = "1_13_440102197611202827"
    ss = fasthash.Hash32(0, []byte(s))
    fmt.Println("xxx: ", ss%10)
    s = "1_13_430305197607230022"
    ss = fasthash.Hash32(0, []byte(s))
    fmt.Println("xxx: ", ss%10)
    s = "1_13_440681198608175976"
    ss = fasthash.Hash32(0, []byte(s))
    fmt.Println("xxx: ", ss%10)
}